package com.dingding.common.core.push.pushbean.specialdriver;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description 指派出租车订单的推送
 * @author fengshuonan
 * @date 2016年11月22日 下午2:53:34
 */
public class AppointTaxiOrderPushBean {

	private String nickName; // 用户名称
	private Integer sex; // 性别 1:男 2:女
	private String telePhone; // 手机号
	private String userAvatar; // 用户头像
	// private String userId; //用户Id
	private String userTabloidAvatar; // 头像地址
	private String oid; // 订单Id
	private BigDecimal distance; // 订单里程
	private String endAddress; // 目的地
	private Double endLatitude; // 终点纬度(Double)
	private Double endLongitude; // 终点经度(Double)
	private Integer orderStatus; // 订单状态 1:待指派 2:待上车(已指派) 3:已上车 4:待支付(已到达) 5:已完成
									// 6:已取消
	private Date setOutTime; // 出发时间
	private Integer setOutType; // 订单类型 1:实时 2:预约
	private String startAddress; // 出发地
	private Double startLatitude; // 起点纬度(Double)
	private Double startLongitude; // 起点经度(Double)
	private String outTime; // 出发时间（显示用）
	private Integer estimateDuration; // 里程时长
	private BigDecimal startDistance; // 司机距离出发地距离
	private String otherUserId; // 对方用户id
	private BigDecimal estimateDistance; // 平台估算距离
	private BigDecimal estimateMoney; // 平台估算金额
	private BigDecimal totalMoney; // 订单费用
	private Integer publishType; // 订单类型 1:顺风车 2:出租车 3:专车4:一口价

	// 格式化数据
	public void formatData() {
		this.distance = this.distance.setScale(1,BigDecimal.ROUND_UP);
	}

	public String getOtherUserId() {
		return otherUserId;
	}

	public void setOtherUserId(String otherUserId) {
		this.otherUserId = otherUserId;
	}

	public BigDecimal getDistance() {
		return distance;
	}

	public String getEndAddress() {
		return endAddress;
	}

	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}

	public Double getEndLatitude() {
		return endLatitude;
	}

	public void setEndLatitude(Double endLatitude) {
		this.endLatitude = endLatitude;
	}

	public Double getEndLongitude() {
		return endLongitude;
	}

	public void setEndLongitude(Double endLongitude) {
		this.endLongitude = endLongitude;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getSetOutTime() {
		return setOutTime;
	}

	public void setSetOutTime(Date setOutTime) {
		this.setOutTime = setOutTime;
	}

	public Integer getSetOutType() {
		return setOutType;
	}

	public void setSetOutType(Integer setOutType) {
		this.setOutType = setOutType;
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getOid() {
		return oid;
	}

	public void setOid(String oid) {
		this.oid = oid;
	}

	public String getStartAddress() {
		return startAddress;
	}

	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}

	public Double getStartLatitude() {
		return startLatitude;
	}

	public void setStartLatitude(Double startLatitude) {
		this.startLatitude = startLatitude;
	}

	public Double getStartLongitude() {
		return startLongitude;
	}

	public void setStartLongitude(Double startLongitude) {
		this.startLongitude = startLongitude;
	}

	public String getTelePhone() {
		return telePhone;
	}

	public void setTelePhone(String telePhone) {
		this.telePhone = telePhone;
	}

	public String getUserAvatar() {
		return userAvatar;
	}

	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}

	public String getUserTabloidAvatar() {
		return userTabloidAvatar;
	}

	public void setUserTabloidAvatar(String userTabloidAvatar) {
		this.userTabloidAvatar = userTabloidAvatar;
	}

	public String getOutTime() {
		return outTime;
	}

	public void setOutTime(String outTime) {
		this.outTime = outTime;
	}

	public Integer getEstimateDuration() {
		return estimateDuration;
	}

	public void setEstimateDuration(Integer estimateDuration) {
		this.estimateDuration = estimateDuration;
	}

	public BigDecimal getStartDistance() {
		return startDistance;
	}

	public void setStartDistance(BigDecimal startDistance) {
		this.startDistance = startDistance;
	}

	public BigDecimal getEstimateDistance() {
		return estimateDistance;
	}

	public void setEstimateDistance(BigDecimal estimateDistance) {
		this.estimateDistance = estimateDistance;
	}

	public BigDecimal getEstimateMoney() {
		return estimateMoney;
	}

	public void setEstimateMoney(BigDecimal estimateMoney) {
		this.estimateMoney = estimateMoney;
	}

	public BigDecimal getTotalMoney() {
		return totalMoney;
	}

	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}

	public void setDistance(BigDecimal distance) {
		this.distance = distance;
	}

	public Integer getPublishType() {
		return publishType;
	}

	public void setPublishType(Integer publishType) {
		this.publishType = publishType;
	}
}
